export default{
    data(){
        return {
            //设置默认的分享参数
            share:{
                title:'玉门随手拍小程序分享',
                path:'/pages/home/index',
                imageUrl:'',
                desc:'',
                content:''
            },
			$imgUrl:'https://ssp.yumentv.cn/api/file/LOGO3.png'
        }
    },
  onShareAppMessage(res) {
		if (res.from === 'button') {// 来自页面内分享按钮
		      console.log(res.target)
		    }
        return {
            title:this.share.title,
            path:this.share.path,
            imageUrl:this.share.imageUrl,
            desc:this.share.desc,
            content:this.share.content,
        }
    }
}
